<!--<?php
require_once template('header'); 
print <<<EOT
<!--右边开始-->
<div id="right">
	<table class="clst" align="center" cellpadding="0" cellspacing="1">
		<tr>
			<td class="tleft">插件管理</td>
			<td class="tright"></td>
		</tr>
	</table>
	<table cellpadding="0" cellspacing="1" class="list">
		<tr>
			<th width="15%">插件名称</th>
			<th width="25%">插件描述</th>
			<th width="10%">安装目录</th>
			<th width="10%">显示模式</th>
			<th width="25%">版权信息</th>
			<th width="15%">$lang[operation]</th>
		</tr>
<!--
EOT;
foreach ($hack as $key=>$val){
print <<<EOT
-->		
		<tr >
			<td>$val[name]</td>
			<td>$val[hack_desc]</td>
			<td>$key</td>
			<td>$val[cod]</td>
			<td>$val[license]</td>
			<td>
<!--
EOT;
if ($val['install']==1) {
print <<<EOT
-->				
           <a href="$val[del]" onclick="return uninstall()">卸 载</a>  <a href="$val[edit]">编 辑</a>
<!--
EOT;
}else{  print <<<EOT
-->
			<a href="$val[insert]">安装</a>
<!--
EOT;
} print <<<EOT
-->			
			</td>
		</tr>
<!--
EOT;
} print <<<EOT
-->			
	</table>
</div>
<!--
EOT;
?>-->